package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点对象 inventory_check
 *
 * @author ruoyi
 * @date 2025-06-01
 */
public class InventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 创建开始时间，记录创建盘点单的起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建开始时间，记录创建盘点单的起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createStartTime;

    /** 创建结束时间，记录创建盘点单的结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建结束时间，记录创建盘点单的结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createEndTime;

    /** 盘点开始时间，记录实际开始盘点操作的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点开始时间，记录实际开始盘点操作的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkStartTime;

    /** 盘点结束时间，记录实际完成盘点操作的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点结束时间，记录实际完成盘点操作的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkEndTime;

    /** 仓库名称，记录盘点操作发生的仓库 */
    @Excel(name = "仓库名称，记录盘点操作发生的仓库")
    private String warehouseName;

    /** 盘点单号，唯一标识一次盘点操作 */
    @Excel(name = "盘点单号，唯一标识一次盘点操作")
    private String checkNumber;

    /** 状态，标识盘点单的当前状态，默认为“等待盘点” */
    @Excel(name = "状态，标识盘点单的当前状态，默认为“等待盘点”")
    private String status;

    /** 创建员工，记录创建盘点单的员工姓名或ID */
    @Excel(name = "创建员工，记录创建盘点单的员工姓名或ID")
    private String createEmployee;

    /** 序号，用于排序或标识盘点单中的商品顺序 */
    @Excel(name = "序号，用于排序或标识盘点单中的商品顺序")
    private Long serialNumber;

    /** 类别，用于区分商品、配品、原料等 */
    @Excel(name = "类别，用于区分商品、配品、原料等")
    private String category;

    /** 分类，用于进一步细分商品类别 */
    @Excel(name = "分类，用于进一步细分商品类别")
    private String subcategory;

    /** 商品名称，记录盘点商品的名称 */
    @Excel(name = "商品名称，记录盘点商品的名称")
    private String productName;

    /** 单位，例如：个、箱、千克等，描述商品的计量单位 */
    @Excel(name = "单位，例如：个、箱、千克等，描述商品的计量单位")
    private String unit;

    /** 规格，描述盘点商品的规格信息 */
    @Excel(name = "规格，描述盘点商品的规格信息")
    private String specification;

    /** 库存单价，记录盘点时该商品的库存单价 */
    @Excel(name = "库存单价，记录盘点时该商品的库存单价")
    private BigDecimal inventoryUnitPrice;

    /** 备注，记录盘点操作的额外说明或特殊情况 */
    @Excel(name = "备注，记录盘点操作的额外说明或特殊情况")
    private String notes;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCreateStartTime(Date createStartTime)
    {
        this.createStartTime = createStartTime;
    }

    public Date getCreateStartTime()
    {
        return createStartTime;
    }

    public void setCreateEndTime(Date createEndTime)
    {
        this.createEndTime = createEndTime;
    }

    public Date getCreateEndTime()
    {
        return createEndTime;
    }

    public void setCheckStartTime(Date checkStartTime)
    {
        this.checkStartTime = checkStartTime;
    }

    public Date getCheckStartTime()
    {
        return checkStartTime;
    }

    public void setCheckEndTime(Date checkEndTime)
    {
        this.checkEndTime = checkEndTime;
    }

    public Date getCheckEndTime()
    {
        return checkEndTime;
    }

    public void setWarehouseName(String warehouseName)
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName()
    {
        return warehouseName;
    }

    public void setCheckNumber(String checkNumber)
    {
        this.checkNumber = checkNumber;
    }

    public String getCheckNumber()
    {
        return checkNumber;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setCreateEmployee(String createEmployee)
    {
        this.createEmployee = createEmployee;
    }

    public String getCreateEmployee()
    {
        return createEmployee;
    }

    public void setSerialNumber(Long serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber()
    {
        return serialNumber;
    }

    public void setCategory(String category)
    {
        this.category = category;
    }

    public String getCategory()
    {
        return category;
    }

    public void setSubcategory(String subcategory)
    {
        this.subcategory = subcategory;
    }

    public String getSubcategory()
    {
        return subcategory;
    }

    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }

    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }

    public void setSpecification(String specification)
    {
        this.specification = specification;
    }

    public String getSpecification()
    {
        return specification;
    }

    public void setInventoryUnitPrice(BigDecimal inventoryUnitPrice)
    {
        this.inventoryUnitPrice = inventoryUnitPrice;
    }

    public BigDecimal getInventoryUnitPrice()
    {
        return inventoryUnitPrice;
    }

    public void setNotes(String notes)
    {
        this.notes = notes;
    }

    public String getNotes()
    {
        return notes;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createStartTime", getCreateStartTime())
                .append("createEndTime", getCreateEndTime())
                .append("checkStartTime", getCheckStartTime())
                .append("checkEndTime", getCheckEndTime())
                .append("warehouseName", getWarehouseName())
                .append("checkNumber", getCheckNumber())
                .append("status", getStatus())
                .append("createEmployee", getCreateEmployee())
                .append("serialNumber", getSerialNumber())
                .append("category", getCategory())
                .append("subcategory", getSubcategory())
                .append("productName", getProductName())
                .append("unit", getUnit())
                .append("specification", getSpecification())
                .append("inventoryUnitPrice", getInventoryUnitPrice())
                .append("notes", getNotes())
                .append("phone", getPhone())
                .toString();
    }
}
